#!/bin/bash

# 检查是否提供了 commit 信息
if [ -z "$1" ]; then
    echo "请提供子文件夹名"
else
    echo "start copy index file to $1"
    mkdir "$1"
    cp /home/gary/Code/vector-ssd/inhouse-diskann/vectorssd._disk.index "$1"
    cp ~/Code/vector-ssd/faiss_test/centroid.bin "$1"
    cp ~/Code/vector-ssd/faiss_test/centroid_info.bin "$1"
fi